package com.tfswue.ershoujiaoyi.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data  // Lombok注解，自动生成getter/setter等
@TableName("user")  // 指定对应表名
public class User {
    @TableId
    private Long id;
    private String username;
    private String password;
    private String nickname;
    private String email;
    private String avatar;
}
